/** 
 *
 * Description: 
 *
 * @author lirong
 * @version 1.0
 * <pre>
 * Modification History: 
 * Date         Author      Version     Description 
 * ------------------------------------------------------------------ 
 * 2012-4-20    lirong       1.0        1.0 Version 
 * </pre>
 */

package com.creditease.mobile.rss;

import java.io.File;

import android.os.Environment;

/**
 * 
 * Description:
 * 
 * @author lirong
 * @version 1.0
 * 
 *          <pre>
 * Modification History: 
 * Date         Author      Version     Description 
 * ------------------------------------------------------------------ 
 * 2012-4-20    lirong       1.0        1.0 Version
 * </pre>
 */

public class RssConst {

	public static final String FAV_ID = "0";
	public static final String APP_NAME = "RssReader";
	public static final String APPROOT = Environment.getExternalStorageDirectory()
											+ File.separator
											+ APP_NAME
											+ File.separator;
	
	public static final String RSS_IMG_CACHE = APPROOT+"CACHE"+ File.separator+"RSS"+File.separator;
	public static final String NEWS_IMG_CACHE = APPROOT+"CACHE"+ File.separator+"NEWS"+File.separator;
	static {
		File file = new File(RSS_IMG_CACHE);
		if (!file.exists()) {
			file.mkdirs();
		}
		File file2 = new File(NEWS_IMG_CACHE);
		if (!file2.exists()) {
			file2.mkdirs();
		}
	}
	public static final String FILE_PREFIX = "file://";

    public static final String UPDATE_SUFFIX= "更新";
}
